﻿using System;
using System.Windows.Ria;
using SoftSource.Ria;

namespace SoftSource.Timecard.Web.Services
{
    public sealed partial class InvoicingContext : ISerialDomainContext
    {
        private IObservable<SubmitOperation> saveObservable;

        partial void OnCreated()
        {
            this.saveObservable = this.SerialSaveChanges();
        }

        #region ISerialDomainContext Members

        public IObservable<SubmitOperation> SaveChanges()
        {
            return this.saveObservable;
        }

        #endregion
    }
}
